package com.guofen.dao;

import com.guofen.pojo.ShljBlockageCleaning;
import com.guofen.pojo.ShljDeodorizationtowerWaterChange1;
import com.guofen.pojo.ShljDeodorizationtowerWaterChange2;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface ShljDeodorizationtowerWaterChange2Mapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ShljDeodorizationtowerWaterChange2 record);

    int insertSelective(ShljDeodorizationtowerWaterChange2 record);

    ShljDeodorizationtowerWaterChange2 selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ShljDeodorizationtowerWaterChange2 record);

    int updateByPrimaryKey(ShljDeodorizationtowerWaterChange2 record);

    ShljDeodorizationtowerWaterChange2 selectLast();

    ShljDeodorizationtowerWaterChange2 findLast();

    List<ShljDeodorizationtowerWaterChange2> selectAll();

    List<ShljDeodorizationtowerWaterChange2> selectByDate(@Param("startDate") String startDate,
                                            @Param("endDate") String endDate);
}